import plugins from "./build/plugins.js";
import jsx from "acorn-jsx";
import output from "./build/output.js";
const rollupConfig = {
  external: [],
  input: process.argv.includes('--lib')?"./src/utils/index.ts":"./src/main.ts",
  output,
  plugins,
  acornInjectPlugins: [jsx()],
  preserveEntrySignatures: true
};
process.argv.includes('--lib')&&rollupConfig.external.push('vue')
export default rollupConfig
